<include file='Public/header' />
<form method="POST" enctype= "multipart/form-data" action="{:U('update')}" role="form">
	<input type='hidden' name="yjl_id" value={$one.yjl_id}>
	<input type='hidden' name="yyjl_pic" value={$one.yjl_pic}>
	<table class="table">
		<tr>
		<th>原头像</th>
		<td> <image src="__PUBLIC__/photo/{$one.yjl_pic}" width="60px" height="60px"></td>
		</tr>
		<tr>
		<th>上传新头像</th>
		<td><input type="file" name="yjl_pic" id="inputfile"></td>
		</tr>
		<tr>
		<th>名称</th>
		<td> <input type="text" name="yjl_videoname" class="form-control" id="yjl_videoname" 
			 placeholder="请输入名称" value="{$one.yjl_videoname}">
		</td>
		</tr>
		<tr>
		<th>简短介绍</th>
		<td> <textarea  rows='2' name="yjl_lintro" class="form-control" id="name" 
			 placeholder="语言精简，作为宣传语" >{$one.yjl_lintro}</textarea>
		</td>
		</tr>
		<tr>
		<th>详细介绍</th>
		<td> <textarea  rows='5' name="yjl_intro" class="form-control" id="name" 
			 placeholder="语言翔实，让客户尽量了解">{$one.yjl_intro}</textarea>
		</td>
		</tr>
		<tr>
		<th>所属类别</th>
		<td> 
		<select name="yjl_tid" class="form-control">
		<volist name="idlist" id="vo">
		  <option value ="{$vo.yjl_id}" <?php  if($vo['yjl_id']==$one['yjl_tid']) echo "selected" ;?>>{$vo.yjl_typename}</option>
		</volist>
		</select>
		</td>
		</tr>
	</table>
	<input type="submit" class="btn btn-primary" value="提交">
</form>
<include file='Public/footer'/>
